Moved runnable to its own class