add qc flag to second view
promise refactoring
refactoring
jlint fixes
Merge pull request #31 from dpiscia/qc

Qc