add contact api and model

contact query api for further.