* added basic authentication
* better http status code handling
* repacked the project