added functionality to create a new Contact resource object via the ContactFactory class with tests