clean-up and added more implementation for host control cmds and used pkt generator data structures for control