Added BF examples.
Added API internal state frameworks and skeletons.