Added order processing classes for the check out.

Also added unit tests.