Refactor - Add RESTAPIManager to handler the API layer