changed logging and wrote readme