Start refactoring cleric based on previous design decisions for functions over lookup multi-dimensional arrays