Merged Analisis

Added wiring to operate from GUI