store conf in db, use process.argv instead of optimist
remove optimist dep