Feature/memcached backend

Adds a memcached backend and made the backend store a binary rather than a record.