add discoverer definition struct for easier config