discovery cleanup&fixing
More cleanup&fixing; Make discovery build against Juce
Add juce_core module code