fix up generated class naming

Ptr and Data aren't as useful as Reference and Value.  Switch the names