Code restructure

. Add new image resource
. Add send/receive packet feature