added draw.c again (except getcolor and setfont which are helpers in main.c)