Support to replace category/process model in signal model machinery

Also exposed multithreading support to command line and tweaked makefile.