Initial lib setup

@petebrowne @ecordell