added error handling for fetching only selected collections, and added gitignore file to avoid having to deal with user/IDE specific files every time