Created project in Eclipse for easier editing
Added indexing code, untested