Added a class for drawing some elements of a gate