Merge pull request #4 from owdqa/v1-train

V1 train
Merge pull request #31 from owdqa/v1-train

V1 train
Merge pull request #183 from owdqa/v1-train

Rebase from v1train
Merge pull request #184 from owdqa/master

Master