simple server framework with npooling depency