REFACTOR - refactored controllers system and implement routes module