added ThemeEngineBundle's commands and adapted several classes due to ThemeEngineBundle lightening