Cleaned up and made into a new usable composer package.
There were problems with namespacing.