IPC: code gardening and introduce IPC own package