add words model and methods to access word from db and set to model