added gitignore file
modified code to handle new endpoints and code