Added first version of logger