Finish rewrite and release version 2.0.0.beta1