added a bunch of drawing functions and a testing class