Added test code for WP app. Added class for peer id. Added logic to connect to peers.