add git ignore for osx
move download to index