Add http_response_code function to set response code

Use this instead of HttpException::getStatusMessage()
move package definition parsing into new submodule ALD.php