refactoring
API: extracted import.js, fiddling with models, added gzip compression to app.js
removed image asses (not  on cf) and fixed missing sets[] in API