Added logging and a readme