Added some basic functionality to be able to develop a (future) RESTful backend.