Work on model, first API methods