move ball to rt task, get rid of main class

move ball to rt task, get rid of main class