I'm not sure if this is what you mean since you are looking for extensions, but if you go to the Bookmarks menu in Firefox and click Organize Bookmarks, an explorer like window pops up in which you can ctrl-click a group of bookmarks and drag and drop them into new folders. That sounds like exactly what you describe and it is already a part of the main program.