Extract frame info read/write to new class.