add dock api
repair api
Merge pull request #7 from masarakki/repair

get docks and do repair