created an IdeaStore method to handle database modifications
rearranged file structure