frame: Add Header, Channels, SubHeader and Pred definitions. This was the last piece of the new frame API. Updates issue #4.