Refactor and add ContactUtil class