tune migration script, add some index
more default configs for new generated config file
update db raw sql
misc bug fix for pip dist package
should be zh rather than cn
version bump. change license to BSD, seems better.