add optimization script with r.js to minify application and vendor components
refactoring package.json
fix readme