finish refactor

start work on reading contacts/contacts table