adding support for PHP 5.6 and moving from PSR-0 to PSR-4