Added basic implementation of signal generator.