Refactored txq functions into txq.h and txq.c and added txq_init()