config file instead of hardcoded.  Minor tweaks to main.js