APIs to create, update, delete and retrieve contracts