Updated gitignore and added logging