get app working after directory refactor
fix server code after refactor; migrations now work