release 0.4.0 (maven central)
adopted release script and docs