added iterator function for host addresses, added int to dec and dec to int function, framed out factory function