- migration to the consumes interface to make the code thread-safe

- minor code updates to make it work in 7_1_X (originally developed in 5_3_X)
minor tweaks to the config files