Started Data_vector class and cleaned up a bit.