replace remove-db_template_table with db_template_table rework

This fixes #22.