reorganize source into data, classes, and instances; still pending:  base and transformer instances for transformer types