Created classes for input data