created a product model and a database