Tidying up and adding gitignore for OS X