Refactor examples slightly
Added composer.json, should be ready for <https://packagist.org/packages/submit>