trying to improve api, but seems that a second call to init() doesn't have any effect - you cannot change appId, which is already initialized