Ignoring generated files

Updated .gitignore to avoid committing generated files and removed the
index.js file
Splitting out components into different files