writing structure of the messages sending through BITs APP, upper server and apps inside the module.