implemented theme loader and appearance settings