add .gitignore file and update applicationContext.xml config file