Cleaned up code on index.html and split inline CSS and JS into res.css & res.js is css & js folders respectively