Some cleanup. Writing to DB splited into twoseparate databases: ads and wordbank.