new functions to get train schedule
db connection is made through config
unit test case functions