merging `data` and `methods` into `class` definition.

`data` should not be a keyword.
changing '&' to "new"
adding parsing of template types (experimental)