Added all the actual tables and changed it to read the db settings from a file