added memcache support

Signed-off-by: Kien Luu <kienluu@kien56.local>