spark token (and potentially others)

The spark token can be entered from the settings panel now in addition to as a flag/env variable (though both of those still take precidence), and gets stored into the db