Cart added

Added the cart class
Huge commit

I forgot to commit like ever so this one contains weeks of commits. In
it I got the database secured and hooked up and buttons dynamically
generated when categories are switched.