Documentation update and v0.4.0