Create routes hash
Major refactoring