added some views and mostly finished the models