Made classes implement Runnable