new Data class to store all data. RM gui modified.