Initial commit for the trainer tool