General Refactoring of code.

* License Header added.
* Extension of the FormulaEditorUitl Class.
* Removing spam code.