added logger.py for logging - subjected to change