Reorganized and commented wordBuildingController