Math and config

Add mathjax support
seperate config files for local, publish, and common use.