added mockup for rest backend; tested half of functionallity