Initial pass at defining comm library API