cleanups, compatibility and fixes

- CHG: made types for compatible for other target frameworks
- CHG: code cleanups
- FIX: removed optional parameters from IConfigRepository interface
- FIX: typos