Added template editor

Template editor with header, body & footer.