Patching

fixed windows import/export problem & created logger class which already logs severe exceptions in main method