Most of the lib is finished. Just needs some optimization and bug fixes.