Rewrote README and tidied up repository.