implemented cpu clustering closes #6, reading csrf via cookies to enable ajax POST/PUT on csrf regeneration closes #5