Configuration file at top level and updated the interface files.

Added tests.