add WordGrid base code