moved sense_filter method to engine_helper.py and setup filtering for messages