refactor char and provider a bit
readd gems to template