Complete repo contents API with missing methods

Create, update and delete file API methods added