Creating a custom Groups-like component

Hi,

I'm trying to create a custom BuddyPress component "Competitions", which will basically function exactly the same as BuddyPress's built-in "Groups" component (albeit with a few extra features).

What would be the best way to accomplish this?

Thanks in advance,