initial support for single-file per class in php
code style changes in conformance to PSR-0 through PSR-2