Added ability to load and run modules at startup.
Moved OverlayManager functionality to a module.