Updated README and added more comments elsewhere