Use an MVC framework

The framework is [simple-mvc-framework/v2](https://github.com/simple-mvc-framework/v2)
Most of the back-end code was rewritten.

Closes #36