adding gitignore and adding renderComponent