New config.
Cleaned up controllers.
Updated models.
New routes.
An attempt at tests.