added comments
minor refactor on route class