Refactored data controller factory to not use configuration file.