refactor repositories;
application properties;
refactor application error handler