updates to the database handler, the word class and the haikugenerator