Added some logger (but it's sort of hardcoded file location so it won't work very well)

Hope this is a nice branch