Split in namespaces, remove playground code and add a commandline interface. Fixes.