move view to server bundle