More work on the new mechanism. It should now load all the data needed, and class and property generation are now mostly complete.