adding data download and database. minor tidy ups
remove random file