Update application router class and add some better commenting.. Misc. other changes..