Replace Namespaces with mixins

@ormsbee @sarina: Review?

Depends on, and should be reviewed after: #64