rename main.js to interface.js, change console formatting