created views, fixed all routing.