Reformatted the README and some of the code.