use appdirs.user_data_dir if possible for db and settings