add index functionality, closes #30
add index extensions to clean command
Merge pull request #31 from hpcugent/feature/use-index

add index functionality