Refactor a bit

Started to move conditional compiles out of the first-class modules and
create wrappers for common DSP functions which choose the optimal
implementation on their own...