Made index a Singelton
Fixed bug where blank query returned all results
Fix git ignore to ignore .pyc