corrected file permissions
migrated to namespaces, added phpunit as dev dependency, some corrections
updated git ignore rules