Fixed config.
moving config to python. improved error page.
removed a bunch of client-site stuff used for config rendering