Updated KSketch web links
Clean up code
Moved sorting array function to KSketch utils
Standardized cached data format for both mobile and web
Implement saving from older version
Implement handling of online/offline mode operations