Moved the configuration part of the software to a seperate library.
started to work on a better connect dialog