added call to mapfreeagentapi in contact class