allows calling define_tables outside of web2py