Return error as json for rest routes
Add toobusy middleware
Read from .env instead of config.db
Test saving of models