Gate, Element

Gate and Element classes are edited