added templates, fixed header, added editors