added all handlers and templates