Added point and line classes and moved virtual functions around
Added point and line classes and moved virtual functions around