Refactoring repair api
Merge pull request #292 from ramielrowe/master

Refactoring repair api