DAR-1184, refactor module based on data from backed + error handling
DAR-1184, add test for error from backend + refactoring of config mockup