creating a structure beneath applications and responses