add entity cache
add cache init;rename package:query->db
Merge pull request #71 from forumbyr/master

add cache init;rename package:query->db