Code refactoring and cleanup. Configurable directory opening command.