Vivek model fixes

Did some fixing w.r.t add word/delete word and edit word. I have practically gone back to flat file model for word management. Will take care of database thing in ITER3.

There are still some issues. Will look into it tomorrow. synchronization of word and theme needs to be looked at closely and needs to be fixed.