Adding params and configuration class with files directive