store app name and base directory in registry
allow to use configuration files from cli app
improvements