edits to models and controllers, problemwith controllers connecting to views/shared/Template