add a train_flag to control whether or not to set trained to TRUE
add basic tests for without_train flag
refactor train_only, hopefully this is cleaner
Merge pull request #5 from robertzk/train_flag

add a train_flag to control whether or not to set trained to TRUE