Add dependencies
Add shrinkwrap
Update cache_ttl. Use send_presence_frequency in send_presence. Cleanup whitespace