Document application structure