Implemented CodeBook, modified readme and script