#179 Loosing own created session on scripts

Refactoring in Application\Module class