add design doc for server framework