Added a grid object for tracking the stage. Refactored the namespace, added global reset and ready events.