Added first pieces of the REST API