finished mavenhive search problem
refactoring code