Renamed and moved some files,
added local path in main.js as fix for cross domain policy