themeInit and remove redundant files