removed console.log
fixed broken test
fixed terrible race condition
server waits for Model.configDb to start
moved trainer routes off to routes/trainer.js