added an instruction to draw text
rearranged the package structure of the drawing instructions.
added a text instruction
updated to the new api