Implement delivery option in cart view, and refactor checkout process. 

This PR depends on #17