Updates of namespaces and composer.json

* updated used namespaces
* moved example from test to example folder
* introduced composer.example.json
What `*=` means? Too short keyword for Google to find :smile: