Storage getIndex method gets passed in the index as a number
Storage testing now flushes after each function
main.js now indicates request type and success function corrected to receive only response as argument
Added a condition to check if server is being queries for a POST request