adding inflectors for API, adding routes for API