Move Pair.java to utils package