moved training into its own file, so we can stop the comment dance
minor formatting