Added NetworkRequest class, "fixed" thread safety issues (in a hacky way)