fleshed out the createResoServer a little