Reorganized namespaces to use PSR-0 and composer.
Added dependency injection container.
Added unit and functional tests examples (PHPUnit and Codeception)