Add NetController and CookieManager. Fix constant.