created Word class and words table