Initial creation of client