moves store config to seperate file