Started refactor on getting memcached config to be dynamic.