rm unused Config object
use scopt for options