Put MainLevel constructor in main.js and remove worker test. Fix documentation.