Implemented the drawing app.