Changed Primitive into a class, implemented draw() methods.