fix appcache & build to correspond new file structure