Added logging

Also delete bin directory that was added due to wrong gitignore