linked to CDN

all of the deleted stuff has been relinked in from public CDNs to boost
performance.

The next step is to enable auto-update of links using node.js  and
bower.io
a new code structure

parceled out different functionalities to different files for
maintainability and nterchangeability