Adding slice, train and test scripts