Core functionality of Sitemplate project.