k fold validation, five, code restructure and pickling