init iOS clinet