Make intendation consistent.
Namespace code
Add composer.json file, move main code into src/, update example.