Updated tide data handling, introduced Tide class