Add byte stream class and framework test example