initial commit of data_management.R