create rest service, refactor rest logique into this
Merge branch 'project-refactor_rest_api' into dev