Added XLS export and getTable method