cleanup web directory and setup memcached