Added all necessary methods to Train Model