Fix Hive Importer to work with Graph repository and needed refactoring. Also fix enum handling in the repository