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

Changed decoder, add train