adding license
add __all__s all around, clean up imports a bit