Added var directory for cache and log
Added var directory for cache and log