formulas are now real python modules, added imports (no more locals magic with exec)