basic model api, fixed brock's reverts and errors (200 of them), fire
api almost done