Beginings of the actual scanner

configuration and configuration validation in place with tests.