extra code
added synced blocks for thread handling in contact resolve
working service registry and discovery. Connection funtions also working
misc stuff