Support case and auto
Support refine and normalise
Clean up frontend code
Support concurrent users in the backend
Trim refine strings (and change example)