add products, categories, product_categories models
fix model bugs