Fixed simple DSP, added loopback functionality, refactored some code'