create document based application with bindings to an array controller