Code improvement at controllers and app.ts
Code improvement at service and model