add memcache on web & db operations. bug fixes.