Add .gitignore
update .gitignore
complete enable/disable function.