added versions of files to use Swing instead of console - work still in progress to convert them