Document application controller