(1) Add interactor device, re issue #10. Move more server state into db, including the traj and model list, so glob is never used, re issue #13. Make mongodb not optional, now that key aspects of the state are maintained there