Remove mvc dependency

Hi, I've been working with this project and doing some refactoring to remove MVC dependency.