rethink data locks, bug fixes, manager and JNI work

update readme