Added config file.
Added config support.