Removing hibernate dependency from MctsRepository