some basic code for the client

very rough.