Reading data sequence implemented and basic test written.