Adding roots of words, fixing DB configuration on Heroku, some refactoring