Refactor the loading of the database of the 12th stake entities to a
separate class.