Making the processes, threading not needed everywhere