openroads style manager

I want to add various types of component styles to the template like inroads' style manager, but I don't know which way to approach it. How do I add feature definition?