created class to store data about single word