Added class for data, working on serial data handling