added migrations and server