change style and organization

change style to google style,
use polymorphisn: beziercurve->clip->clipbezier or clip quadratic,
next: implement quad clipping