removed type field from Word class. Replaced by tags fieldof type array, which may contains more than one tag