Ip address manipulating functions in global functions
Added new overall useful functions