Building a rack-based MVC framework