clean dome code

Signed-off-by: coldnew <coldnew.tw@gmail.com>
move config

Signed-off-by: coldnew <coldnew.tw@gmail.com>