Implement a better way to name and export class constructors.

This change also simplified the way classes are exported to PaperScope objects.