add first version of backend and spa client code