Small updates to improve efficiency and readability

main.js
New object representation of the game settings.
xhrGet changed to ajax and allows for post requests too

physics.js
New file to hold functions for math and physics
Moved function randInt to from main.js to physics.js

index.html
Added a nice header and updated to include physics.js

style.css
Added styles for the header