habbix: split config, add cmdargs, add migrate subcmd