modifications and preperation for 0.5.2 release and maven release.