Refactoring hiera configuration and adding redis