Dev Wade

add IP v6 check function and arrange checkstyle