create net.rest package and housekeeping