Work on a singleton pattern. Not done yet.

Works for require; looking for something that works for dofile.