refactoring: moving constants into config module.