Add easy api for task creation and removal alongside a new factory system for osgview.