Fixed file_exists file path in setSite()
Changed site.set and request.render actions to hooks, added loadSettings() to site.set hook