Created Signal class with both time and values