Moved ip address validators into separate file