Moved initialization of doctor and update to xib