Added lib with logging and config support, assocated tests

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>