restructuring the data type file to break each datatype into its own class