Now no response body is returned if the data to return is empty, false or null
Moved declaration of the base url parameters to the Config class
Refactored some code
Added an abstract Controller class which handles HTTP HEAD requests