restructure packages to reflect new insights after improving and bugfixing logging system.