refactoring: all parsing template DB activity migrated to use reflection