Add memcached and fix sync folder