added purchases model and views