initial working commit

refactored to clean up/dry up code
moved secrets into config files
put in placeholders for secrets