pulled out code that runs on app startup and put in constructor of dmp2pconnectionmanager