Create logger.py

The logger module required for the functionality