Added transform function to server response

Also removed unused Views