Automated service discovery and registration framework