I have converted the console app to a form based one