+form validation +further arguments processing

Extracted directory scanner to reuse configuration, fixed usage of configuration (wrong set of parameters was passed to configuration container)