isolate domains into constants; add setting page for further modification