add create server functionality