add slim support
add handlebars file extension detection