Controller extends Thread