moved processing from controller to model, and created memcached version...

...s of those methods