Add storage. Generating AGENT_ID in storage at first run
Add client methods
Some fixes