refactor code && update to 0.3.0
Merge branch 'dev'