Altered file structure and changed all method in idea_store to each_with_index to allow for id to be position