Added 'Graph' and 'ValueComponent<T>' class and made the relevant changes to the Entity class.