create separate files for assets

the JS is in `main.js` and the CSS is in `style.css`

Also added a `.gitignore` file