first implementation of configuration interface and a simple test