code style changes, removed unused imports; added cart to cart_inline template