Added Element class with getter and setter