refactore IEntity into CEntity, added Main Menu, various buttons and labels