Repository API as REST

The repository can also be accessed via restful services