Remove unnecesary code + readme + code book

The script was updated by removing all the unnecessary code lines. The
readme file was updated and the code book, created.