fix: change imports and refactor the project structure to be able compiling pghrep (#505) Closes #505 See merge request !458