add slot and signal mechanism to all modules