I was wondering if anyone can help me with this or guide me in the right direction.

I'm trying to build my own version of ClockworkMod recovery.
Mainly I want to be able to add/remove features that are available when you boot into clockwork recovery
For example: I would like to remove the "wipe data/factory reset" feature

I have been following the Cyanogen guides (downloaded my own buld environment, etc...) and have successfully built ClockworkMod recovery.img/update.zip

I have also found the folder that the recovery.img is built from, but I do not know which files are the ones that I should be modifying to add/remove features.

Any advice would be greatly appreciated.

Thank you very much