Making it object oriented

Starting migrating the application to being a bit more structured. For this first trick,
the customer order and its line items are now objects.

Next up will be to fix the JSON part, and work out a better event handling system to reduce
code duplication.