Added bezier curves.
Closed bezier paths.
Moved draw stuff into module.