Support multi app and multi cache (fix #53)

Support multi app and multi cache (fix #53)