project logic restructuration. main(), report and setup refactoring.
new session initialization and finalization.