JSON protocol refactored to default:
output: String error OR Object result
First clean html interface implemented