initializing class router

so we only server requests if we have a route for the path
Better Class Router!
Bug fix in class router
Merge branch 'master' into StreamReader