setup for mapdb and memcached (as a db).