applied code style to gui. moved main into gui
applied code style to logic package.
Show default directory in text fields.