moving some hardcoded parameters into a db based registry