Break formulas.xml into multiple files and load dynamically

This file was already getting way too large and overly complicated
so I figured this should be done earlier rather than later.