* added class Index
* changed Threads to Callables with return values