Refactoring and Clean Up2
Optimized memory allocation for reading the route
Started documentation