Reorganized the train app to include a person module and example.js for examples of the train functions
Adds tests for the train app