set up rack-cache with memcached, simplify dependency loading