Add index to Blocks sample project