Moves sandbox.Sandbox's private methodes to end
Lets sandbox.Sandbox._ensure_directory() to use sandbox.Sandbox.to_main_basis()