Changed file path.
Rewritten api_wrapper.
Changed close to exit to match.
Added create_table, row_exists and changed table_exists.