Logger és SitesController refactor.
TemplateDeployer refactor.
Sites refactor.