second attempt at creating an MVC library for expressjs