Add init to Train class