add settings and logger