Clean up, finish removing hard-coded strings
Refactor main, make config global

* pulled out some learner/mentor functions to their own methods
* added load_config as a way to get the config data into the global
  namespace when the script loads, to avoid passing config data around
  functions awkwardly.
* work on troubleshooting not-posting/writing to DB problems