Added all the skeleton code for the basic drawing functions.