reduce coupling by removing unnecessary constants
simple shell example and bugfixes