add cache.coffee
add timestamp support in cache.coffee
bug fixing
many improvments