Added configuration file/mysql support.