add view and api for model