refactor: error code.
refactor: extract arpa util from ip util; move & move class.