Changed decoder, add train
Merge pull request #2 from littlebeanfang/master

Changed decoder, add train