added basic REST-API