created REST API for MTA