implemented newest discovery code
remove connections from our array whenever they are destroyed
Merge branch 'feature/newest_discovery_changes' into develop