Switched to Template Toolkit, much revision on base setup
Chat is now working in basic way