[FEATURE] Break pretty print tables to separate file.
[FEATURE] Refactor table printing from bin/gateway.