Put basic client functionality into a Class