Modularized frontend code, restructured communication
use Bootstrap from CDN, move general JS and CSS to root dir