Add basic entity system pieces.

Add basic parts for the underlying entity system.