Refactoring loading of application for CLI and HTTP
Merge pull request #118 from AntonShevchuk/master

Refactoring loading of application for CLI and HTTP