Feature/update http auth and http methods

- renamed classes and methods to relieve headache
- reorganized the client setup
- change content type

@rheaton