Added basic functionality for createWordListFrag and createWordFrag