Added new version of Buffer and first draft of the ahb wrapper