Added a global logger, added the initcass file in a  separate script, will try to move all the scripts outside of the main folder containing the generic code