use slim for templates - close #16