Updated handle TX, added helper functions for route table