added database and memcached