Encapsulating DB logic in DAO module
General refactor of middleware logic
Decouplig router/app routes