first decent version of the backend to test. need to define test interface