add accordion menu

includes jqueryui, twitter bootstrap libraries,
and implements the accordion menu

separates main.js from index.html for main program logics
and minor changes for the programs