Added a Logging Framework

Wrote a small logging framework to keep track of the incoming messages