Fix palette positioning, break css into pieces
Move main.js to scripts