updated libraries, extended README, code cleanups