Some code maintenance
updated gitignore