refactory perso into a service. GetCube add cube into inventory.