remove runnable

removed runnable and run method. as well as cleaned some code