fixes pad amount issue by moving it to before the finalWidth/Height calculation. moves inline styles into style.css. creates style.css
add style.css
breaks instantiation out into script.js file. adds script.js file.