Split out the parsing and ECC logic from the index.js file
Update .gitignore
Updated .gitignore