added using of services instead of php's header() in \Hahns\Hahns::__construct()