added basic curve drawing class and init