First wave of commits!

Removed controllers, have left only mark controller, some base classes
and a test controller for reference. Added restful routing, trying to
get it all wired up.