improve code quality based on codeclimate
use memcached namespacing on locking
set expiration on memcached to one week for values on namespace without an expiration data