refactoring short and long version
refactoring application environment (json config filename and env var)