Add friendship models and make API.