[FEATURE] Add all controllers for REST api and refactor existing methods to controllers