Started work on readme, minor tweaks to code.