Make the database connection for KWMO and Freemium configurable.