added initial unit tests for basic routes, generic placement factory, refactored core modules: ds (changed from db), routes, server