removed unnecessary model method, replaced by call to categories model
removed unused class variable, made single line statement more readable
added link to layout