Refactored site view, moved logic into model
Added rating on home page