fix to run without kaswlib
add license
see readme.md