Basic MVC framework :).  Not exhaustivly tested.