Refactor examples slightly
Added composer.json, ready for Packagist submission

https://packagist.org/packages/submit