initial import of lib
minor
added test gui
build fixes
more build fixes
added docs etc, more build fixes
rename
split lib daemon and clients