created views and models