Added most of the functionality required to power the index and the threads