Add theme manager

Conflicts:
	res/xml/preference_headers.xml