Got dynamic/resourceful routing working.
Allow controllers to be functions or arrays as well as objects.