Initial setup of client