Restructured desktop service and start creating listening threads and IO structures