made runnable classes and started new threads