Riding the Hartford Line and Shore Line East may be a little easier now that the state is adding a mobile app that will allow online ticket purchasing.