chore(engine): use VariableMap in impl classes

related to #CAM-2979
chore(engine): use VariableMap in case instance builder