Code refactoring. Implement route modules