added: theme variable from config  is now set inside constructor