Added support for the different modes in the lower menu and defaulted mode to pencil. Added pinch gesture recognizer stub for shapes and text.