Json Structure

Change in JSON structure
Code based indexing

Big change. Now product items are indexed based on code.
Merge pull request #3 from ssajith/#3

#3