Introduced the auto binding template and used binding to link math-gen and math-config together. Now works nicely with the math-gen forced reset of configuration.