update basic discussion structures
modify HTMLPurifier cache directory
implement basic discussion functions