move main res dict to ThemeManager