applications: refactoring & added global applications configuration