Moved RESTFull APIs to /api route.