created model and views