added index view, changed models, flushed database