Added model and API