added contact resource and preliminary tests
finished chapter 3