closes #12 by adding slim template support