Added partials and tied up models to views