Added getFromMemcached
Refactored two methods to use getFromMemcached