move configuration to config.clj module, and use atoms instead of vars