implemented base framework for aliots client.