View for cart and minor refactor in cart code

First version for cart view :)