Decouple main app from specific themes and modes