Implemented packet definition and queue definition