add gitignore (for mac) and add config file