Remove sp_ prefix.
Clean up code further

Make module global variables stop trying to be private. It's not
pythonic.