Added pubs and schematic. Needs review.
Added libraries.