modify init file and add gitignore