Cleaned up Route code

Removed redundant code, inlined variables, more simple code rewrites
Made code immutable in places where it was very easy to do so
Removed up some useless comments
Cleaned up Android code

Removed redundant code, inline variables, more simple code rewrites
Made code immutable in places where it was very easy to do so
Removed up some useless comments