Created an interface to the command line for testing. And added various methods, signals and slots in DiscoveryPeer and Peer class.