add remaining routes and mailer class