Refactor to be namespaced and not use legacy MVC

/cc @dongilbert