Refactoring helper object class