replace deprecated read with read!.
changes to accomodate multiline comment syntax.
typo fix in readme.
removed unnecessary gen definition