network: add gettext init code
network: refactor code, remove init()
network: refactor code, about agent and state notifier