Mixins, singletons, and statics

Added functionality and tests for mixins, singletons, and statics