update
use enum as MemcacheError
add *.swp to gitignore