save before moving js into external files
refactor main view
monday morning
before reorganizing main sequence