Updated gitignore and fixed the error layout