add query and model files to new tables