Move utils and sphinx_table to module