Support more flexible imports

This style of export allows code to import the entire module via 'default', or import any part of the module by name.