Register deployment

* TODO: Unit tests for the API calls and refactored
HttpClient library