added partials
Removed restfulness as it was messing with urls
removed rack flash
added status codes