rewrite all,update version to 0.5.0

rewrite all,update version to 0.5.0