Add gitignore file and fix bugs that prevent the injectable kwargs to be override.