set up cache updating (not always from scratch); add system status and last upated flags; merge similar functions into minimal
add local versions of angular and jquery into static; clean up html