Added api_model file and HTML template