Removed MainPanel
Added title
Refractored function names