Did some polishing on the GUI

added some of the skeleton for the formulas' methods.