Try to refactor resources;
Trying to refactor rest api with express