integrating modules for compound formulas

Signed-off-by: greenTara <taraathan@gmail.com>