Add a runnable class to allow classes to inherit and run in their own thread