Added various classes and templates.