Add chapter #s to directory names, write definition of keywords and identifiers