created models for category and products, and also established relationship