contacts refactor, test work
tests and processor work