Backend v1

Initial working backend