improve dumptable -t parameter
Refactor upload app