connection between module and config

added data and sending rules to config