returned to console app
Added a GUI interface(not pretty code!)