added possibility to run procedures as runnable objects using multithreading manager