basic game structure and hierchy