basic logger added

The logger is tested and seems to work fine.

It refers to the calling module in the log files which could be handy in some cases.