Simplified mailing of templates
Removed test message
Added some api handlers
Small fixes