Updated readme moved code into chapters