Finished up the database functions for mods as well as loading and adding mods.