separate template handlers, add erubis handler