Completed class field construction

Completed class field construction, still one outstanding issue with
global vs class namespaces to work out.