Create Function for all Data Lists

Function data_list() created for any database calls that create a list,
replaces individual code in each file.