Initial library commit and sample program

Signed-off-by: Joshua Frkuska <j.frkuska@gmail.com>