Getting ready for release 1.0.0, documentation and code tidy