Refactored/made path CurvedPathEntity and deleted BezierPathEntity. Moved package shape out from gfx