Added model and associated classes.