Created base class for drawable objects