Data object in constructor

Data object initialization and getter of Data, used in testing file