put cred config in separate file
fork some stuff to a config