Split things up
Unused imports
Reconnect to peers if available again
Fix up timeout handling
Add an example
Fix failover
Remove .DS_Store