Updated readme. Tidied code.