Classes start earliest at 9:15, you might not have classes that start at that time but if you do just try and get an earlier train or bus if possible and if push comes to shove just email you lecture explaining your situation and most are really chill about it. I'm in Coleraine and we have people that travel up from Belfast everyday so it is possible ^-^