Discover

Added discover feature to API and plug. If you can manage to merge I guess can be usefull for the new version :-)