How to create ribbon panels

I am trying to create an add-in for SolidWorks 2009. I have found a very useful sample on how to create a toolbar but i want to be more in the spirit on SolidWorks 2009 an use ribbons. Is there any documentation on how to create ribbon panel and tabs?

Thanks

SolidworksApi macros