Move the nbextension directory
Separate out Sage adapters
Be more careful about what we import at the top level