add api documents and maven repository for v0.4.0.