Creating a lightweight MVC framework