added products model, template, and api