Working on the database side. need to build the views.