First stab at client code

This is bad and I feel bad.