Added an application entry point outside out the form class.