add start of scheduler socket code