adding server and reqHandler