MOved filter from config to Module class