Package

Added composer.json and namespaces for easy integration and autoloading in php projects.
Updated readme.md with the new namespaces. The full namespace is used.
Added unittest. I need to do a full refactor to cover all code.