added cart model, products index page, updated css using inheritance for index