First pass at Train support.
Removed tests and unused vendor dirs.