Addon Database Initialization

I am making an addon that will perform simple CRUD per-product, associating admin-created text for each product.



Where is best place to put database initialization code for an addon? Are there any CS Cart best practices in performing this function?



Also, which template hooks would be best for providing admins with simple interface per-product? So that they may navigate to any item and see my addon's fields per-product?



Thanks for any information.

It looks like this template hook may be good for products.update->addons section:



{hook name=“categories:detailed_content”}

Or, even better, copying the functionality in the “buy_together” addon, one can add a new product.update tab using tabs_extra.post.tpl