still testing application cache error event
haven't commited in a while
got template and retrieve json working, still need to do pending item