README: update to new API
parser: use new struct exceptions