changes for PSR-0 and PSR-1 compliance

changed directory structure, added namespace, changed class method names
to camelCase to conform to PSR-0 and PSR-1 standard