improve setup and add global gitignore