Create library and example app

Example app at this time simply connects to another peer.