Main Frame boiler plate code added.