Removed unused files and fixed the main.js with correct base directory
WIP: working on minification of www