In 2010 none of this is needed. You can create Ribbon entries in XML.

See here for a very basic tutorial and some free help files - Make sure you read the notes on the new version of the CustomUi editor and the extra step needed.

Google for RibbonX for more