train in batches
changed options to accept batch-train
added purple mod