document operation class constructor