moved contact code into init from manager module