removed a bunch of unused code, updated, updated the build tools and library