Update documentation and tidy code