created "index" field
Merge pull request #38 from damiendallimore/master

Created "index" field and getter/setter