fix typo in api, add snapshot endpoint
add solve.py