A basic api for contact application