If you have the skill, then download the C2 SDK which contains the templates for effects, plugins and behaviors. Then look at the SDK section of the manual to get some pointers, and look at the plugins and behaviors that come with C2 to see how they were created. There is also some very useful info in the Extending C2 section.
If you then have more questions about extending C2, that's the best place for posting in.