Fix problem with class name escaping,
add automatic refersh of backend