Refactor to break apart main ApiTransformer class

Move the responsibility of running a route to the route