Code refactoring

comentaries deleted and ips object deleted