Smart pool management