added settings GUI
added port setting and non GUI threads daemonized
server-client class splitted