Update several code

I store the traindata location on _DIRECTORY_TRAIN variable as constant value. So, if there's change on traindata location. Developer needn't to change all location