Separating model and view. Separating hibernate from actions through webservice delegate