More work on core engine framework.

Started work on BaseObject, GameObject, and Component classes.