updated readme and added license
logging unexpected failures