Rewrite core parts
Prepare to release 3.0.1