Add start and loop method
Add stop function
Thread.join in stop function
Add examples