Updated readme, build, and added tests.