Refactored spawning module
Data logging implemented
Data logging implemented
Internal data logging implemented.
Loops in config are implemented in C++ adaptor.