Added code to set up BSD server