added main structure and methods to lit_data