Update Train.py

More refactor.