Re-doing main CSS. Adding MathJax links. Splitting up templates into multiple files.