changes made on train
done some work on main.cc, untested, added files.h