finished dynamic router, finished parameters and defaults
added basic route handling in controller