Initial commit of library. STILL VERY BUGGY AND BAD ERROR HANDLING

Signed-off-by: Jason Kuster <unexpectedapocalypse@gmail.com>