added some sample views for the db data. Created some models. Fixed some bugs