remove some warning from sonarqube
refactor
update gitignore