RESTful api

Backend skeleton created.