refactor(template): Add event class
feat(main): Add submit message