[#LIB-155] Refactor configuration | DeviceMocker extracted