setup featured system to use the database instead of config file fix #5