added api removal of accountcontact; created repository class