made this a PHP 5.3+/PSR-2 compliant package