added drawing pane and changed the other classes to work with this abstraction layer