division into view, model, controller. Introduced Source and SignalModel.
signalInit added. Have to add more content to signalView for this change to has any meaning.