Refactoring exceptions and folders structure

Removed getApplication() method from Package Trait
Prepare Application to RESTfull service