updated the files and added the database generator.