Refactoring middleware and routes initialize