Config parser
Read (some) options from config file

I apologize for the shitty code.
Configurable state file
Honor state file
Keep state in home directory & etc.