Introduced Nexus class (workflow control/management). Reorganized code. Started to implement sampling (alpha values; not operational yet).