Final commit 2

corrected memcached implementation, properly indented along with
comments.