Cleanup controllers

* cleanup controllers, use databases controller as reference
* cleanup specs
* create separate controllers for database stats and collection stats
* ..or get rid of tabs and create a separate page for stats