almost done with development mode implementation, launching multiple instances, makes sure every instance has db setup. refactors.