delete old code

branch old code to v1.0, and start new code base.