renaming
outsourced production code to main.js