better extraction of template class

* correct dependency requires
* interpolate options bug
* asks to overwrite existing projects